package com.itheima.reggie.service;

import com.itheima.reggie.domain.Category;
import com.itheima.reggie.vo.ResultInfo;

import java.util.List;

public interface CategoryService {
    List<Category>  findAll();

    void save(Category category);

    void update(Category category);

    ResultInfo deleteByid(Long id);


    List<Category> findPage(Integer pageNum,Integer pageSize);
}


